//
//  UIImageView+SD.h
//  VICategory
//
//  Created by MN on 2022/6/29.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImageView (SD)


/// 设置网络图片
/// @param url 图片地址
- (void)vi_imageWithUrl:(nullable NSString *)url;

- (void)vi_imageWithUrl:(nullable NSString *)url
       placeholderImage:(nullable UIImage *)placeholderImage;

- (void)vi_imageWithUrl:(nullable NSString *)url
       placeholderImage:(nullable UIImage *)placeholderImage
              completed:(nullable void (^)(UIImage * _Nullable image))completed;
@end

NS_ASSUME_NONNULL_END
